{include file="public/_meta" /}
<link href="__PUBLIC_ADMIN__css/plugins/iCheck/custom.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-title">
                        <h5>配置管理</h5>
                    </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form action="{:url('admin/jjcc/configure_post')}" method="post" class="form-horizontal" enctype="multipart/form-data">
                            <input type="hidden" name="id" value="{$res.id}">
                             <div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">首页右上角广告游戏是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="index_game" {if condition="$res.index_game eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="index_game" {if condition="$res.index_game eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
										
							        </div>
							    </div>
							</div>
                            <div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">去领奖是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="go_prize" {if condition="$res.go_prize eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="go_prize" {if condition="$res.go_prize eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
										
							        </div>
							    </div>
							</div>
                            <div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">中奖滚动浮窗是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="clearance" {if condition="$res.clearance eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="clearance" {if condition="$res.clearance eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
										
							        </div>
							    </div>
							</div>
							<div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">我的奖品是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="my_prize" {if condition="$res.my_prize eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="my_prize" {if condition="$res.my_prize eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
							        </div>
							    </div>
							</div>
							<div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">奖品列表是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="prize_list" {if condition="$res.prize_list eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="prize_list" {if condition="$res.prize_list eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
							        </div>
							    </div>
							</div>
							<div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">首页悬浮广告是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="index_advertisement" {if condition="$res.index_advertisement eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="index_advertisement" {if condition="$res.index_advertisement eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
							        </div>
							    </div>
							</div>
							<div class="col-md-12">
							    <div class="form-group">
							        <label class="col-sm-3 control-label">更多是否开启：</label>
							        <div class="col-sm-4">
							        <label class="radio-inline">
							            <input id="r3" type="radio" value="1" name="game_all" {if condition="$res.game_all eq 1"} checked="checked"{else}{/if}>开启</input>  
							            </label>
							            <label class="radio-inline">
										<input id="r4" type="radio" value="0" name="game_all" {if condition="$res.game_all eq 0"} checked="checked"{else}{/if}>关闭</input> 
										</label>
							        </div>
							    </div>
							</div>
							<div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">游戏规则标题：</label>
                                <div class="col-sm-2">
                                    <input name="game_rules" class="form-control" type="text" value="{$res.game_rules}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">游戏规则内容：</label>
                                <div class="col-sm-2">
                                <textarea rows="3" cols="40">{$res.game_content}</textarea>
                                  
                                </div>
                            </div>
							<div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">LOGO下方文字：</label>
                                <div class="col-sm-2">
                                    <input name="logo_title" class="form-control" type="text" value="{$res.logo_title}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">时间条上方文字：</label>
                                <div class="col-sm-2">
                                    <input name="comegame_title" class="form-control" type="text" value="{$res.comegame_title}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">难度一关卡数量：</label>
                                <div class="col-sm-1">
                                    <input name="game_a" class="form-control" type="text" value="{$res.game_a}">
                                </div>
                                <label class="col-sm-2 control-label">难度一倒计时时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_a" class="form-control" type="text" value="{$res.count_down_a}">
                                </div>
                                <label class="col-sm-2 control-label">难度一递减时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_reduce_a" class="form-control" type="text" value="{$res.count_down_reduce_a}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">难度二关卡数量：</label>
                                <div class="col-sm-1">
                                    <input name="game_b" class="form-control" type="text" value="{$res.game_b}">
                                </div>
                                <label class="col-sm-2 control-label">难度二倒计时时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_b" class="form-control" type="text" value="{$res.count_down_b}">
                                </div>
                                <label class="col-sm-2 control-label">难度二递减时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_reduce_b" class="form-control" type="text" value="{$res.count_down_reduce_b}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">难度三关卡数量：</label>
                                <div class="col-sm-1">
                                    <input name="game_c" class="form-control" type="text" value="{$res.game_c}">
                                </div>
                                <label class="col-sm-2 control-label">难度三倒计时时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_c" class="form-control" type="text" value="{$res.count_down_c}">
                                </div>
                                <label class="col-sm-2 control-label">难度三递减时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_reduce_c" class="form-control" type="text" value="{$res.count_down_reduce_c}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">难度四关卡数量：</label>
                                <div class="col-sm-1">
                                    <input name="game_d" class="form-control" type="text" value="{$res.game_d}">
                                </div>
                                <label class="col-sm-2 control-label">难度四倒计时时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_d" class="form-control" type="text" value="{$res.count_down_d}">
                                </div>
                                <label class="col-sm-2 control-label">难度四递减时间：</label>
                                <div class="col-sm-1">
                                    <input name="count_down_reduce_d" class="form-control" type="text" value="{$res.count_down_reduce_d}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">答错或者超时第一行：</label>
                                <div class="col-sm-5">
                                    <input name="wrong_one" class="form-control" type="text" value="{$res.wrong_one}">
                                </div>
                            </div><div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">答错或者超时第二行：</label>
                                <div class="col-sm-5">
                                    <input name="wrong_two" class="form-control" type="text" value="{$res.wrong_two}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">挑战成功第一行：</label>
                                <div class="col-sm-5">
                                    <input name="game_ok_one" class="form-control" type="text" value="{$res.game_ok_one}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">挑战成功第二行：</label>
                                <div class="col-sm-5">
                                    <input name="game_ok_title" class="form-control" type="text" value="{$res.game_ok_title}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">首页浮窗广告图片链接：</label>
                                <div class="col-sm-5">
                                    <input name="index_advertisement_imgurl" class="form-control" type="text" value="{$res.index_advertisement_imgurl}">
                                </div>
                            </div><div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">首页浮窗广告链接：</label>
                                <div class="col-sm-5">
                                    <input name="index_advertisement_url" class="form-control" type="text" value="{$res.index_advertisement_url}">
                                </div>
                            </div><div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">首页分享图片文字：</label>
                                <div class="col-sm-5">
                                    <input name="index_share_title" class="form-control" type="text" value="{$res.index_share_title}">
                                </div>
                            </div><div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">首页分享图片按钮文字：</label>
                                <div class="col-sm-5">
                                    <input name="index_share_buttitle" class="form-control" type="text" value="{$res.index_share_buttitle}">
                                </div>
                            </div>
                            <div class="form-group">
								<label class="col-sm-3 control-label">分享到群或个人图片：</label>
								<div class="col-sm-5">
									<div class="up">
										<input placeholder="" name="file" class="one" type="file">
										<div id="preview1">
											<img src="__IMG_UP__{$res.share_img}" alt="">
										</div>
									</div>
								</div>
							</div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">分享到群或个人文本：</label>
                                <div class="col-sm-5">
                                    <input name="share_title" class="form-control" type="text" value="{$res.share_title}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">每填增加的游戏次数：</label>
                                <div class="col-sm-2">
                                    <input name="game_number_day" class="form-control" type="text" value="{$res.game_number_day}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">新用户初始游戏次数：</label>
                                <div class="col-sm-2">
                                    <input name="game_number_new" class="form-control" type="text" value="{$res.game_number_new}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">每天分享群限制：</label>
                                <div class="col-sm-2">
                                    <input name="share_day" class="form-control" type="text" value="{$res.share_day}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">每天分享好友限制：</label>
                                <div class="col-sm-2">
                                    <input name="share_daypu" class="form-control" type="text" value="{$res.share_daypu}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">无次数提醒文字：</label>
                                <div class="col-sm-5">
                                    <input name="share_humber" class="form-control" type="text" value="{$res.share_humber}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">通关关数设置：</label>
                                <div class="col-sm-2">
                                    <input name="checkpoint_number" class="form-control" type="text" value="{$res.checkpoint_number}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">游戏红包最小金额：</label>
                                <div class="col-sm-2">
                                    <input name="money_min" class="form-control" type="text" value="{$res.money_min}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">游戏红包最大金额：</label>
                                <div class="col-sm-2">
                                    <input name="money_max" class="form-control" type="text" value="{$res.money_max}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">游戏红包提现额度：</label>
                                <div class="col-sm-2">
                                    <input name="money_all" class="form-control" type="text" value="{$res.money_all}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">客服微信：</label>
                                <div class="col-sm-2">
                                    <input name="customer_service" class="form-control" type="text" value="{$res.customer_service}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-8 col-sm-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    {include file="public/_footer" /}
	
    <!-- 自定义js -->
    <script src="__PUBLIC_ADMIN__js/content.js?v=1.0.0"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC_ADMIN__utf8-php/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC_ADMIN__utf8-php/ueditor.all.min.js"></script>
    <!-- iCheck -->
    <script src="__PUBLIC_ADMIN__js/plugins/iCheck/icheck.min.js"></script>
    
    <script>
        $(document).ready(function() {
        	$('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
			
            $('.refresh').click(function(){
            	//window.location.reload();	// 刷新页面
            })
		});
	</script>

</body>
</html>
